<%#
kind: PXELinux
name: Preseed default PXELinux Autoinstall
model: ProvisioningTemplate
oses:
- ubuntu
test_on:
- ubuntu_autoinst4dhcp
-%>
#
# This file was deployed via '<%= template_name %>' template
#
# Supported host/hostgroup parameters:
#
# blacklist = module1, module2
#   Blacklisted kernel modules
#
# lang = en_US
#   System locale
#
# WARNING
#
# Foreman will not download the kernel/initramdisk to PXE automatically. Please follow
# the official Ubuntu documentation and extract the files from the LiveCD (DVD) manually
# and optionally update the KERNEL and INITRD lines in this template.
#
DEFAULT linux cloud-init autoinstall
LABEL linux cloud-init autoinstall
    KERNEL <%= @kernel %>
    INITRD <%= @initrd %>
    APPEND root=/dev/ram0 <%= snippet('preseed_kernel_options_autoinstall').strip %>

<%= snippet_if_exists(template_name + " custom menu") %>
